package cn.tedu.egmybatis4.mapper;

import cn.tedu.egmybatis4.pojo.entity.Customers;
import cn.tedu.egmybatis4.pojo.vo.CustomersVO1;
import cn.tedu.egmybatis4.pojo.vo.CustomersVO2;
import cn.tedu.egmybatis4.pojo.vo.CustomersVO3;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {
    int insertCustomers(Customers customers);

    CustomersVO1 selectCustomers(String id);
    List<CustomersVO2> selectCustomersCity(String id);

    List<CustomersVO3> selectCustomersOrders(String id);
}
